/*
 * Created Summer 2011
 */
package edu.gatech.galaxy.model.types;

/**
 * Represents a 2D location in space
 * @author Robert
 * @version 1.0
 * Date: 5/31/11
 * Time: 4:37 PM
 */
public class Location2D {
    /**
     * The x coord
     */
        private final int x;
        
    /**
     * The y coord
     */
        private final int y;
        

    /**
     * Creates a new location
     * @param xc        the x coord
     * @param yc        the y coord
     */
        public Location2D(int xc, int yc) {
            x = xc;
            y = yc;
        }
        
        /**
         * @return the string rep of class
         */
        @Override
        public String toString() {
            return "Location3D: [" + x + ", " + y +  "]";
        }
}
